package tk1.uebung3.ws;

import java.util.List;

import javax.jws.WebMethod;
import javax.jws.WebService;

@WebService
public interface Shop {


	
	@WebMethod
	public String getCartId();
	
	@WebMethod
	public String[] getProductTypes(); 
	
	@WebMethod
	public int getProductAmount(String productName);
	
	@WebMethod
	public double getProductPrice(String productName);
	
	@WebMethod
	public boolean purchaseProduct(String cartId, String productName, int amount);
}
